.loginBox {
	padding: 40px;
	background: rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
	box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
	border-radius: 10px;

	h2 {
		margin: 0 0 30px;
		padding: 0;
		text-align: center;
		position: relative;
		caret-color: transparent;

		button {
			font-size: 18px;
			cursor: pointer;
			background-color: transparent;
			border: none;

			&.active {
				color: #03e9f4;
				cursor: not-allowed;
			}
		}

		b {
			font-size: 18px;
			padding: 0 10px;
		}
	}

	.userBox {
		position: relative;
		margin-bottom: 30px;
		display: flex;
		justify-content: center;
		gap: 20px;
		align-items: flex-end;

		input {
			// width: 100%;
			flex: 1;
			font-size: 16px;
			color: #fff;
			-webkit-text-fill-color: #fff;
			border: none;
			border-bottom: 1px solid #fff;
			outline: none;
			background: transparent;
			caret-color: transparent;
			border-radius: unset;
			height: 0;
			padding: 1.2em 0em;
			background-clip: content-box;

			&:focus {
				caret-color: #03e9f4;
				box-shadow: unset;
			}
		}

		label {
			position: absolute;
			top: 0;
			left: 0;
			padding: 10px 0;
			font-size: 16px;
			color: #fff;
			pointer-events: none;
			transition: 0.5s;
		}

		input:focus ~ label,
		input:valid ~ label {
			top: -24px;
			left: 0;
			color: #03e9f4;
			font-size: 12px;
		}

		.regionSelection,
		.obtainVerificationCode {
			width: 100px;
			box-sizing: border-box;
		}

		.regionSelection {
			padding: 5px;
			background: transparent;
			font-size: 16px;
			border: none;
			-webkit-appearance: none;
			/*for Webkit browsers*/
			padding: unset;
		}
	}

	.buttonBox {
		button {
			flex: 1;
			max-width: 50%;
			cursor: pointer;
			border: none;
			height: 40px;
			border-radius: 5px;
			font-size: 14px;
		}
	}

	.passwordLoginForm,
	.messageLoginForm {
		display: none;

		&.active {
			display: unset;
		}
	}
}

.space {
	width: 100%;
	justify-content: space-between;
}
